package com.jxzyk.http.req;

import android.content.Context;

import com.alibaba.fastjson.JSONObject;
import com.core.entity.params.ReqParams;
import com.jxzyk.config.API;
import com.jxzyk.http.BaseRequest;
import com.jxzyk.http.HttpTools.OnHttpListener;

public class LoginRequest extends BaseRequest {

	public LoginRequest(Context context) {
		super(context);
	}

	@Override
	public String getUrl() {
		return API.Login.login;
	}

	@Override
	public void setParams(String... value) {
		super.setParams(value);
		params.put("username", value[0]);
		params.put("pwd", value[1]);
	}

	@Override
	public ReqParams getParams() {
		return params;
	}

	@Override
	public OnDialogListener getListener() {
		return null;
	}

}
